<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="com.ogilvy.audi.bean.User" table="USER" >
        <id name="userId" type="java.lang.Integer">
            <column name="USER_ID" />
            <generator class="native" />
        </id>
        <property name="userName" type="java.lang.String">
            <column name="USER_NAME" length="50" not-null="true" />
        </property>
        
        <property name="email" type="java.lang.String">
            <column name="email" length="50" />
        </property>
    </class>
</hibernate-mapping>
